GtkFileChooser: Don't crash if invisible files are deleted
authorMatthias Clasen <mclasen@redhat.com>
Fri, 12 Dec 2014 03:52:59 +0000 (22:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 12 Dec 2014 03:57:37 +0000 (22:57 -0500)
commitf9c5799c82c7f683f699e2f08302683bcef99641
tree261da1729bbe3629e9c4d2529f6d0a886df6fde5
parent661da5558c14520070174b0fd65f1a9c508f4ca4
GtkFileChooser: Don't crash if invisible files are deleted

This is a crash that has been around for a long time, as
can be seen here:
https://bugzilla.redhat.com/show_bug.cgi?id=1048388
https://bugzilla.redhat.com/show_bug.cgi?id=984375
https://bugzilla.redhat.com/show_bug.cgi?id=1159015
https://bugzilla.redhat.com/show_bug.cgi?id=1059187
https://bugzilla.redhat.com/show_bug.cgi?id=1122172
https://bugzilla.redhat.com/show_bug.cgi?id=1016895
https://bugzilla.redhat.com/show_bug.cgi?id=1133235
https://bugzilla.redhat.com/show_bug.cgi?id=1077500
https://bugzilla.redhat.com/show_bug.cgi?id=1054378
https://bugzilla.redhat.com/show_bug.cgi?id=1173212

Fix suggested by Benjamin Otte.
gtk/gtkfilesystemmodel.c